package com.arron.DesignMode.factory.factorymethods;

/**
 * @Classname Operation
 * @Date 2020/11/20 10:53
 * @Created by 刘
 */
//一个抽象得运算类
public abstract class Operation {

    private double numberA;
    private double numberB;

    abstract double getResult();

    public double getNumberA() {
        return numberA;
    }

    public void setNumberA(double numberA) {
        this.numberA = numberA;
    }

    public double getNumberB() {
        return numberB;
    }

    public void setNumberB(double numberB) {
        this.numberB = numberB;
    }
}
